\label{\detokenize{longtable:longtable-having-both-stub-columns-and-problematic-cell}}

\begin{savenotes}\sphinxatlongtablestart\begin{longtable}{|*{3}{\X{1}{3}|}}
\hline
\sphinxstyletheadfamily 
header1
&\sphinxstyletheadfamily 
header2
&\sphinxstyletheadfamily 
header3
\\
\hline
\endfirsthead

\multicolumn{3}{c}%
{\makebox[0pt]{\sphinxtablecontinued{\tablename\ \thetable{} -- continued from previous page}}}\\
\hline
\sphinxstyletheadfamily 
header1
&\sphinxstyletheadfamily 
header2
&\sphinxstyletheadfamily 
header3
\\
\hline
\endhead

\hline
\multicolumn{3}{r}{\makebox[0pt][r]{\sphinxtablecontinued{Continued on next page}}}\\
\endfoot

\endlastfoot
\sphinxstyletheadfamily \begin{itemize}
\item {} 
instub1-1a

\item {} 
instub1-1b

\end{itemize}
&\sphinxstyletheadfamily 
instub1-2
&
notinstub1-3
\\
\hline\sphinxstyletheadfamily 
cell2-1
&\sphinxstyletheadfamily 
cell2-2
&
cell2-3
\\
\hline
\end{longtable}\sphinxatlongtableend\end{savenotes}
